<?php 
	$err = $this->err;
	$cat= $this->cat;
?>
<h1>Add Category</h1>
	<form name="frmAddAdm" method="post" enctype="multipart/form-data">
		<div class="err"><?php echo $err; ?></div>
		<table width="100%" cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td>Category name: </td>
				<td><input type="text" name="txtCatName" value="<?php echo $cat['cat_name']; ?>" /></td>
			</tr>
			<tr>
				<td valign="top">Description: </td>
				<td><textarea id="txtSortDes" name="txtDes" cols="60" rows="10" ><?php echo $cat['cat_des']; ?></textarea></td>
			</tr>
			<tr>
				<td>Image: </td>
				<td><input type="file" name="txtFile" value="Browser" /></td>
			</tr>
		</table>
		<div class="save-reset">
			<input type="submit" value="SAVE" />&nbsp;&nbsp;
			<input type="reset" value="Reset" />
		</div>
	</form>